package cn.wolfcode.wolf2world.elasitcsearch.service.impl;

import cn.wolfcode.wolf2world.elasitcsearch.domain.DestinationEs;
import cn.wolfcode.wolf2world.elasitcsearch.domain.UserInfoEs;
import cn.wolfcode.wolf2world.elasitcsearch.repository.UserInfoEsRepository;
import cn.wolfcode.wolf2world.elasitcsearch.service.UserInfoEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 杨兴健
 * @Date 2020/8/20 13:00
 */
@Service
public class UserInfoEsServiceImpl implements UserInfoEsService {

    @Autowired
    private UserInfoEsRepository userInfoEsRepository;

    @Override
    public void save(UserInfoEs userInfoEs) {
        userInfoEsRepository.save(userInfoEs);
    }
}
